<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>lu_projectProgress_SpecialIncome  过程管理-特殊收入管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link href="ADMIN_PUBLIC/css/bootstrap.min.css" rel="stylesheet">
    <link href="ADMIN_PUBLIC/css/animate.min.css" rel="stylesheet">
    <link href="ADMIN_PUBLIC/css/style.min.css" rel="stylesheet">
    <link href="ADMIN_PUBLIC/css/jquery.magnify.css" rel="stylesheet">
    <!--<link href="https://cdn.bootcss.com/font-awesome/4.7.0/ADMIN_PUBLIC/css/font-awesome.min.css" rel="stylesheet">-->

    <link rel="stylesheet" href="ADMIN_PUBLIC/css/lu_common.css">
    <link rel="stylesheet" href="ADMIN_PUBLIC/css/lu_projectProgress.css">
    <link rel="stylesheet" href="ADMIN_PUBLIC/fonts_style/iconfont.css">
</head>
<body class="color_fff container-fluid row" style="background-color: #fff">
<include file = 'Common/pro_nav' />
<div class="row projectProgress_table_BOX">
    <include file = 'Common/pro_base' />
    <div class="table_BOX">
        <table class="col-sm-12 table table-striped comTableStyle" id="table_table">
            <thead>
            <tr>
                <th><input type="checkbox" id="checkAll" class="checkboxStyle"></th>
                <th>时间</th>
                <th>材料名称</th>
                <th>类别</th>
                <th>数量</th>
                <th>单位</th>
                <th>单价(元)</th>
                <th>金额(元)</th>
                <th>凭证</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
        <volist name = 'data' id = 'v'>
            <tr data-index="{$v.id}">
                <td><input type="checkbox" class="checkboxStyle" <if condition = "$v.is_cal == 1">disabled<else /></if>></td>
                <td>{$v.sp_time}</td>
                <td>{$v.mat_name}</td>
                <td>{$v.sp_type}</td>
                <td>{$v.sp_count}</td>
                <td>{$v.mat_unit}</td>
                <td>{$v.sp_uprice}</td>
                <td>{$v.sp_total}</td>
                <td><a href="look_img" class="edit_table">查看</a></td>
                <if condition  = '$v.is_cal == 0'>
                    <td><a href="edit_people" class="edit_table">编辑</a></td>
                    <else />
                    <td><a href="#" class="edit_table">取消核算</a></td>
                </if>
            </tr>
        </volist>
            </tbody>
        </table>
        <div class="pagination"><ul><li>{$page}</li></ul></div>
        <div class="hidden_box">
            <div class="hidden_box_showBox ">
                <span id="dateVal">筛选</span>
                <i class="iconfont icon-jiantou"></i>
            </div>
            <ul class="hidden_box_hiddenBox">
                <li class=" hidden_box_hiddenBox_list ">
                    <span class="hiddenBox_list_text">时间：</span>
                    <input type="text" class=" BFBFBF_inputStyle" id="query_year_people" data-query='time'>
                </li>
                <li class=" hidden_box_hiddenBox_list ">
                    <span class="hiddenBox_list_text">材料名称：</span>
                    <!--<input type="text" class=" BFBFBF_inputStyle">-->
                    <select class="BFBFBF_inputStyle " name=""  data-query='name'>
                        <!-- <option>技术部1</option>
                        <option>技术部2</option>
                        <option>技术部3</option>
                        <option>技术部4</option>
                        <option>技术部5</option> -->
                    </select>
                </li>
                <li class=" hidden_box_hiddenBox_list ">
                    <span class="hiddenBox_list_text">类别：</span>
                    <select class="BFBFBF_inputStyle " name=""  data-query='type'>
                        <option></option>
                        <option value='下脚料、残次品'>下脚料、残次品</option>
                        <option value='中间试制品'>中间试制品</option>
                        <option value='组成部分形成的产品'>组成部分形成的产品</option>
                        <option value='形成样品样机'>形成样品样机</option>
                    </select>
                </li>
                <li class="hiddenBox_list_btn">
                    <button class="btn btn-sm btn-success" id="query">确定</button>
                    <button class="btn btn-sm btn-success">查找全部</button>
                    <button class="btn btn-sm btn-default">取消</button>
                </li>
            </ul>
        </div>
        <ul class="operation_btn">
            <!--<li><a href="add_people" class="btn btn-success">添加</a></li>-->
            <!--<li><a href="#" class="btn btn-success">批量添加</a></li>-->
            <li><a href="#delete" class="btn btn-success">批量删除</a></li>
            <li><a href="#check" class="btn btn-success">核算</a></li>
        </ul>
        <ul class="animated fadeIn add_hiddenBox" lll="edit_people" id='edit_people'>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>时间：</label>
                <div class="col-sm-9">
                    <input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" id="edit_time" add_name="edit_time">
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>材料名称：</label>
                <div class="col-sm-9">
                    <input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" readonly add_name="edit_materialName">
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 control-label table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>类别：</label>
                <div class="col-sm-9">
                    <!--<input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="edit_category">-->
                    <select class="form-control table_btn_list_selectStyle" add_name="edit_category">
                        <option>下脚料、残次品</option>
                        <option>中间试制品</option>
                        <option>组成部分形成的产品</option>
                        <option>形成样品样机</option>
                    </select>
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>数量：</label>
                <div class="col-sm-9">
                    <input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="edit_num">
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>单位：</label>
                <div class="col-sm-9">
                    <span add_name="edit_unit" class="table_btn_list_title" value="KG">KG</span>
                    <!--<input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="edit_unit">-->
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>单价(元)：</label>
                <div class="col-sm-9">
                    <input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" readonly value="5" add_name="edit_price">
                </div>
            </li>
            <li class="form-group table_btn_list">
                <label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>金额(元)：</label>
                <div class="col-sm-9">
                    <input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" readonly placeholder="" add_name="edit_money">
                </div>
            </li>
            <li class="form-group table_btn_list table_btn_list_top">
                <label class="col-sm-3 table_btn_list_title table_btn_list_title_top">凭证：</label>
                <div class="col-sm-9 pz_file_box">
                    <button class="btn btn-success hidden_input_box">点击上传<input type="file" accept="image/*" class="hidden_input" add_name="edit_file"></button>
                    <ul class="pz_file_list">

                    </ul>
                </div>
            </li>
            <li class="button_list">
                <button class="btn btn-sm btn-success" id="save_btn">保存</button>
                <button class="btn btn-sm btn-default cancel_btn">取消</button>
            </li>
        </ul>
        <!--<ul class="animated fadeIn add_hiddenBox" lll="add_people">-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>时间：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;<input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" id="add_time">&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>材料名称：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;&lt;!&ndash;<input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="add_materialName">&ndash;&gt;&ndash;&gt;-->
            <!--&lt;!&ndash;<select class="form-control table_btn_list_selectStyle" add_name="add_materialName">&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部1</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部2</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部3</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部4</option>&ndash;&gt;-->
            <!--&lt;!&ndash;</select>&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 control-label table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>类别：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;&lt;!&ndash;<input type="text" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="add_category">&ndash;&gt;&ndash;&gt;-->
            <!--&lt;!&ndash;<select class="form-control table_btn_list_selectStyle" add_name="add_category">&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部1</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部2</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部3</option>&ndash;&gt;-->
            <!--&lt;!&ndash;<option>技术部4</option>&ndash;&gt;-->
            <!--&lt;!&ndash;</select>&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>数量：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;<input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="add_num">&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>单位：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;<span add_name="add_unit" class="table_btn_list_title" value="KG">KG</span>&ndash;&gt;-->
            <!--&lt;!&ndash;&lt;!&ndash;<input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" placeholder="" add_name="add_unit">&ndash;&gt;&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>单价(元)：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;<input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" readonly value="5" add_name="add_price">&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title"><i class="iconfont icon-asterisk table_btn_list_necessary"></i>金额(元)：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9">&ndash;&gt;-->
            <!--&lt;!&ndash;<input type="number" class="col-sm-9 BFBFBF_inputStyle add_people_input" readonly placeholder="" add_name="add_money">&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="form-group table_btn_list table_btn_list_top">&ndash;&gt;-->
            <!--&lt;!&ndash;<label class="col-sm-3 table_btn_list_title table_btn_list_title_top">凭证：</label>&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="col-sm-9 pz_file_box">&ndash;&gt;-->
            <!--&lt;!&ndash;<button class="btn btn-success hidden_input_box">点击上传<input type="file" accept="image/*" class="hidden_input" add_name="add_file"></button>&ndash;&gt;-->
            <!--&lt;!&ndash;<ul class="pz_file_list">&ndash;&gt;-->

            <!--&lt;!&ndash;</ul>&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--&lt;!&ndash;<li class="button_list">&ndash;&gt;-->
            <!--&lt;!&ndash;<button class="btn btn-sm btn-success" id="add_btn">确认添加</button>&ndash;&gt;-->
            <!--&lt;!&ndash;<button class="btn btn-sm btn-success" id="add_AddNew_btn">添加并新增</button>&ndash;&gt;-->
            <!--&lt;!&ndash;<button class="btn btn-sm btn-default cancel_btn">取消</button>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
        <!--</ul>-->
    </div>

    <!--内容没填完，弹框-->
    <div class="warning_hiddenBox animated fadeIn" id="yz_modal" box="yz_modal">
        您有内容没有填写完哦！
    </div>
    <!--删除人员-->
    <div class="add_hiddenBox animated fadeIn" id="delete" lll="delete">
        <p class="delete_tip_text">确认删除吗？</p>
        <div class="delete_tip_btn_box">
            <button class="btn btn-sm btn-success">确认</button>
            <button class="btn btn-sm btn-default">取消</button>
        </div>
    </div>
    <!--查看凭证-->
    <div class="add_hiddenBox animated fadeIn" id="look_img" lll="look_img" >
        <ul class="look_img_list">
            <li><a data-magnify="gallery" href="ADMIN_PUBLIC/img/a1.png"><img src="ADMIN_PUBLIC/img/ic_3@2x.png"></a></li>
            <li><a data-magnify="gallery" href="ADMIN_PUBLIC/img/a2.png"><img src="ADMIN_PUBLIC/img/ic_6@2x.png"></a></li>
            <li><a data-magnify="gallery" href="ADMIN_PUBLIC/img/a3.png"><img src="ADMIN_PUBLIC/img/ic_food2.png"></a></li>
            <li><a data-magnify="gallery" href="ADMIN_PUBLIC/img/a3.png"><img src="ADMIN_PUBLIC/img/ic_food2.png"></a></li>
            <li><a data-magnify="gallery" href="ADMIN_PUBLIC/img/a3.png"><img src="ADMIN_PUBLIC/img/ic_food2.png"></a></li>
        </ul>
        <div class="delete_tip_btn_box">
            <button class="btn btn-sm btn-success">确认</button>
        </div>
    </div>
    <!--核算弹框-->
    
</div>

<script src="ADMIN_PUBLIC/js/jquery.min.js"></script>
<script src="ADMIN_PUBLIC/js/jquery.magnify.js"></script>
<script src="ADMIN_PUBLIC/js/laydate/laydate.js"></script>
<script src="ADMIN_PUBLIC/js/lu_projectProgress_SpecialIncome.js"></script>
<script>
    $(function(){
        $('[data-magnify=gallery]').magnify({
            headToolbar: [
                'close'
            ],
            footToolbar: [
                'zoomIn',
                'zoomOut',
                'prev',
                'fullscreen',
                'next',
                'actualSize',
                'rotateRight'
            ],
            title: false
        });

        window.query_year_people = ''
        laydate.render({
            elem: '#query_year_people', //指定元素
            type:  'month',
            theme: '#2881C1',
            done: function(value, date, endDate){
                var dateVal = date.year+'年'+date.month+'月'
                window.query_year_people = dateVal
            }
        });
        laydate.render({
            elem: '#edit_time', //指定元素
            theme: '#2881C1',
            done: function(value, date, endDate){
                var dateVal = date.year+'年'+date.month+'月'+date.data+'日'
//                window.edit_time = dateVal
            }
        });
    })
</script>
</body>
</html>